package com.example.supplychainbackend.dao.sales;

import com.example.supplychainbackend.entity.sales.ContractEntity;
import com.example.supplychainbackend.entity.sales.OrderEntity;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface OrderDao extends JpaRepository<OrderEntity, String> {
    List<OrderEntity> findAllByEnterpriseId(String enterpriseId);
}
